﻿namespace Bilibili.Model.Common
{
    public sealed class InvokeData<T>
    {
        public InvokeData(string name)
        {
            Name = name;
        }
        public InvokeData(bool clear, T data)
        {
            Data = data;
            Clear = clear;
        }
        public InvokeData(string name, T data)
        {
            Data = data;
            Name = name;
        }
        public T Data { get; set; }
        public bool Clear { get; set; }
        public string Name { get; set; }
    }
}